import React from 'react'

export default function PropsCom({title, img}) {
  // 解构赋值
  // let {title, img} = props;
  return (
    <div>
      <h2>{title}</h2>
      <img src={img} alt="" />
    </div>
  )
}
